package com.himore.api.web.model;

import com.himore.api.common.annotation.Excel;
import com.himore.api.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 任务信息对象 t_task_complete_info
 * 
 * @author ruoyi
 * @date 2021-01-21
 */
public class TTaskCompleteInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 任务ID */
    @ApiModelProperty(value = "任务ID")
    private Long infoId;

    /** 用户ID */
    @ApiModelProperty(value = "用户ID")
    private Long userId;

    /** 用户ID */
    @ApiModelProperty(value = "用户ID")
    private Long taskId;

    /** 任务名称 */
    @ApiModelProperty(value = "任务名称")
    private String taskName;

    /** 任务副标题 */
    @ApiModelProperty(value = "任务副标题")
    private String taskNickName;

    /** 完成获取积分数量 */
    @ApiModelProperty(value = "完成获取积分数量")
    private Long amount;

    /** 任务类型 1. 获得积分 2. 获得抽奖次数 */
    @ApiModelProperty(value = "任务类型 1. 获得积分 2. 获得抽奖次数")
    private String taskType;


    private Date signdateBegin;

    public Date getSigndateBegin() {
        return signdateBegin;
    }

    public void setSigndateBegin(Date signdateBegin) {
        this.signdateBegin = signdateBegin;
    }

    public Date getSigndateEnd() {
        return signdateEnd;
    }

    public void setSigndateEnd(Date signdateEnd) {
        this.signdateEnd = signdateEnd;
    }

    private Date  signdateEnd;


    public void setInfoId(Long infoId) 
    {
        this.infoId = infoId;
    }

    public Long getInfoId() 
    {
        return infoId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setTaskId(Long taskId) 
    {
        this.taskId = taskId;
    }

    public Long getTaskId() 
    {
        return taskId;
    }
    public void setTaskName(String taskName) 
    {
        this.taskName = taskName;
    }

    public String getTaskName() 
    {
        return taskName;
    }
    public void setTaskNickName(String taskNickName) 
    {
        this.taskNickName = taskNickName;
    }

    public String getTaskNickName() 
    {
        return taskNickName;
    }
    public void setAmount(Long amount) 
    {
        this.amount = amount;
    }

    public Long getAmount() 
    {
        return amount;
    }
    public void setTaskType(String taskType) 
    {
        this.taskType = taskType;
    }

    public String getTaskType() 
    {
        return taskType;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("infoId", getInfoId())
            .append("userId", getUserId())
            .append("taskId", getTaskId())
            .append("taskName", getTaskName())
            .append("taskNickName", getTaskNickName())
            .append("amount", getAmount())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("taskType", getTaskType())
            .toString();
    }
}
